package com.hmdp.utils;

public interface Ilock {

    // 尝试获取锁
    // timeoutSec锁的过期时间
    boolean tryLock(long timeoutSec);

    // 释放锁
    void unLock();
}
